﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragrma","no-cache");
response.setDateHeader("Expires",0);
%> 

<c:set var="language" value="${param.language}" />

<c:if test="${language!=''}">
	<fmt:setLocale value="${language}"/>
	<fmt:setBundle basename="i18n.itilbase"/>
	<c:set var="lang" value="${language}"/>
</c:if>

<c:if test="${language=='' || language==null}">
	<fmt:setLocale value="${empty cookie['language'].value?'zh_CN':cookie['language'].value}"/>
	<fmt:setBundle basename="i18n.itilbase"/>
	<c:set var="lang" value="${empty cookie['language'].value?'zh_CN':cookie['language'].value}"/>
</c:if>



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<title>

用户登录--后台管理</title>
<head>
	
    <link rel="stylesheet" type="text/css" href="../scripts/jquery/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../scripts/jquery/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../styles/style.css">
    <link rel="stylesheet" type="text/css" href="../styles/comm.css">
	<script src="../scripts/i18n/i18n_${lang}.js"></script>
	<script src="../scripts/jquery/jquery-1.4.2.min.js"></script>
	<script src="../scripts/jquery/easyui/jquery.easyui.min.js"></script>
	<script src="../scripts/i18n/i18n_${lang}.js"></script>
	<script src="../scripts/easyui_common.js"></script>
	<script>var contextPath="${pageContext.request.contextPath}";</script>
	<script src="../scripts/itsm/common/login.js"></script>
	
<style>
.welcome-div{
	width:134px;
	float:left;
	line-height:25px;
	text-align:center;
	cursor:pointer;
	margin-top:0px;
	margin-left:0px;
	height:80px;
}
.welcome-div img{
	width:55px;
	height:55px;
}

</style>

</head>


<body style="margin:0px;background-repeat:no-repeat; background-position:top;font-size:12px">


<!-- 使用自带的CSS创建ID为LOGIN的窗口 -->

<div id="loginWindow" class="easyui-window" collapsible="false" minimizable="false" shadow="false" maximizable="false" closable="false" title="用户登录 --后台管理" style="width:380px;height:330px;" >
	<div id="login_form_loading" style="height:260px"></div>
	<div id="login_form_content" style="display:none">
	
	<form id="userLogin" style="text-align:center;margin:0px">
	  <table cellspacing="5" width="96%" align="center" style="text-align:left;padding: 20px;">
	      <tr><td>&nbsp;</td></tr>
	      <tr>
	        <td>
	        	<b>用户名</b>
	        </td>
	        <td><input name="userDTO.loginName" id="j_username" class="easyui-validatebox" style="width:200px;height: 22px;" validType="text" required="true" /></td>
	      </tr>
	      <tr><td>&nbsp;</td></tr>
	      <tr>
	        <td ><b>密码</b></td>
	        <td><input type="password" name="userDTO.password"  id="j_password"  class="easyui-validatebox" style="width:200px;height: 22px;" required="true"/></td>
	      </tr>
	      <tr><td>&nbsp;</td></tr>
	    </table>
	    
	</form>
	
	 
	<div style="border-top:#99bbe8 1px solid; border-bottom:#99bbe8 1px solid; padding:10px; background-color:#e4edfe;text-align:center; margin-left:0px; margin-right:0px;margin-bottom:8px; margin-top:8px">
		      <a onclick="checkBoforeLogin()" id="button_dologin" class="easyui-linkbutton" icon="icon-ok" style="margin-right:10px">登录</a>
	   	      <a onclick="resetLoginForm()" class="easyui-linkbutton" icon="icon-undo" style="margin-right:10px">重置</a>
	
	</div>
	
	
	</div>
</div>

</body>
</html>